package com.wolfking.converter.transform;

public interface FieldTransform<T> {

    boolean canTransform(Class<?> fieldType);

    T transform(Object value) throws Exception;

    default T transform(Class<?> fieldType, Object value) throws Exception {
        return transform(value);
    }
}
